/* Check JER_Bitmatrix( JER_Bitmatrix ).
   liberation... already tested. */
#include <stdio.h>
#include "jerasure.h"
#include "liberation.h"

int main( int argc, char** argv )
{
	int *old_bitmatrix;
	int m = atoi( argv[1] );
	int k = atoi( argv[2] );
	int w = atoi( argv[3] );
	
	old_bitmatrix = liberation_coding_bitmatrix( k, w );
	if( old_bitmatrix != NULL )
		jerasure_print_bitmatrix( old_bitmatrix, 2*w, k*w, w );

	return 0;
}
